package top.upstudy.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;

@ApiModel("返回类")
@ToString
public class ResultInfo {
    @ApiModelProperty("响应数字")
    private Integer code=200;
    @ApiModelProperty("响应消息")
    private String msg="success";
    @ApiModelProperty("测试的")
    private String msg2="2323";

    private Object result;

    public Object getResult() {
        System.out.println("ssss");
        return result;
    }

    public void setResult(Object result) {
        System.out.println("xxxxxxxxxxxxxxxxxxxxxxxx");
        this.result = result;
    }

    public Integer getCode() {
        System.out.println("2222222");
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsg2() {
        return msg2;
    }

    public void setMsg2(String msg2) {
        this.msg2 = msg2;
    }
}
